package jp.dip.sys1.android.sharp.walkquest.data;

public class LevelTable {
	
	public static int getLevel(int experience){
		int level = 0;
		int ex = 0;
		while(true){
			ex += 100 + (level*100);
			if(ex >= experience){
				break;	
			}
			level++;
		}
		return level+1;
	}
}
